package com.eos.control.action.activity;

import com.eos.control.action.base.AbstractBaseAction;

public class DealSetMealAction extends AbstractBaseAction {
	private static final long serialVersionUID = 5007760193767346755L;
	private Integer setMealId;

	public void setSetMealId(Integer setMealId) {
		this.setMealId = setMealId;
	}

	@Override
	public String execute() {
		try{
			if(null == setMealId || setMealId.intValue() <=0){
				statusCode = "300";
				message = "参数错误, 删除失败!";
			}else{
				
				statusCode = "200";
				message = "删除套餐信息成功!";
			}
		}catch (Exception e) {
			e.printStackTrace();
			statusCode = "300";
			message = "系统异常, 删除失败!";
		}
		return SUCCESS;
	}
}
